package service;

import java.util.List;

public interface IService<T> {

    T get(long id);

    List<T> getAll();

    void createOrUpdate(T t);

    void delete(T t);
}
